package com.leyou.sh.auth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {"com.leyou.sh.auth","com.leyou.sh.common.advice"})
@EnableFeignClients(basePackages = "com.leyou.sh.user.client")
@MapperScan(basePackages = "com.leyou.sh.auth.mapper")
public class LyAuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(LyAuthApplication.class, args);
    }
}
